package com.dingding.order.dto.publish.taxi;

public enum PublishTaxiOrderStatus {
	
	GENERATE_TAXI_ORDER_ERROR(500,"生成出租车订单时出错"),
	HAVE_UN_FINISHED_TAXI_ORDER(501,"存在未完成的出租车订单");
	
	private int code;  //状态码
	
	private String message; //状态码消息
	
	private PublishTaxiOrderStatus(int code,String message){
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
}
